<?php
use yii\helpers\Url;
//引入前端资源管理文件
use app\assets\AppAsset;
//将当前视图页面注入进来
AppAsset::register($this);
?>
<!--设置一些注入点-->
<?php $this->beginPage(); ?>
<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>微信图书商城</title>
    <?php $this->head();?>
</head>
<body>
<?php $this->beginBody(); ?>
<div class="navbar navbar-inverse" role="navigation">
    <div class="container">
        <div class="navbar-collapse collapse pull-left">
            <ul class="nav navbar-nav ">
                <li><a href="<?php echo Url::to(['index/index']);?>">首页</a></li>
<!--                <li><a target="_blank" href="http://www.54php.cn/">博客</a></li>-->
                <li><a href="<?php echo Url::to(['web/user/login']);?>">管理后台</a></li>
            </ul>
        </div>
    </div>
</div>

<!--放入不同的内容bengin-->

<?=$content;?>
<!--放入不同的内容end-->

<?php $this->endBody(); ?>
</body>
</html>
<?php $this->endPage();?>